package cn.iocoder.yudao.module.diy.controller.admin.config.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 装修配置新增/修改 Request VO")
@Data
public class ConfigSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "26940")
    private Long id;

    @Schema(description = "插件id", example = "29552")
    private Long addonId;

    @Schema(description = "配置项关键字", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "配置项关键字不能为空")
    private String configKey;

    @Schema(description = "配置值json")
    private String configValue;

    @Schema(description = "是否启用 1启用 0不启用", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "是否启用 1启用 0不启用不能为空")
    private Integer configStatus;

}